using Project_Schedule.Model;

namespace Project_Schedule.Domain.BackGround.com.core.utils;

public static class System_ErrorCodeCreate
{
    /// <summary>
    /// 生成错误代码 用户前台注册失败的用户 查询他的信息 便于修改
    /// </summary>
    /// <param name="account"></param>
    /// <returns></returns>
    public static string CreateCodeErrorUsedQuery(string account)
    {
        return RsaEncryptUtil.RSAEncrypt(account)[..20];
    }
}